﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Security;

namespace Vcare.Controllers
{
  public class HomeController : Controller
  {
    public ActionResult Index()
    {
      
    
      ViewBag.Message = "VCare Membership - Initial Payment and Maintenance";
      if (Session["username"]==null)
      {
        return RedirectToAction("Login", "Account");
      }
      return View();
    }

    public ActionResult About()
    {
      ViewBag.Message = "Your app description page.";

      return View();
    }

    public ActionResult Contact()
    {
      ViewBag.Message = "Your contact page.";

      return View();
    }
  }
}
